package org.bendev.ildaplayer;

import java.util.Calendar;

public interface Player{
	public enum State{ BUFFERING, LOADING, PAUSED, PLAYBACK_ERROR, PLAYING, READY, UNINITIALIZED };
	
	public void play( String channel, Calendar start );
	public void stop();
	public void pause();
	public void start();
	public void seekTo( Calendar pos );
	public State getState();
	public Calendar getPosition();
	
	public void setListener( PlayerListener listener );
}
